<?php
// Get the Root Application Path
$current_path = realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR;
$APPLICATION_ROOT = $current_path . '..' . DIRECTORY_SEPARATOR;


$global_configure = $APPLICATION_ROOT;
$global_configure .= 'global' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR;

// Import Global Configuration
$global_configure .= 'configure.php';
define('GLOBAL_CONFIGURE', $global_configure);
//echo $global_configure; 
//echo GLOBAL_CONFIGURE;
require_once GLOBAL_CONFIGURE;



// THESE LINE OF CODES WILL BE REMOVED IF GLOBAL CONFIGURATION UPDATE DONE
// AND VERIFY EVERYTHING WORKS OK
//define('ENABLE_SSL', false);
  
/*if (LOCAL == '1') {
	define('HTTP_COOKIE_PATH', '/ushop-beta1/sc/');
	define('HTTPS_COOKIE_PATH', '/ushop-beta1/sc/');
	define('DIR_WS_HTTP_CATALOG', '/ushop-beta1/sc/');
	define('DIR_WS_HTTPS_CATALOG', '/ushop-beta1/sc/');
} else {
	define('HTTP_COOKIE_PATH', '/sc/');
	define('HTTPS_COOKIE_PATH', '/sc/');
	define('DIR_WS_HTTP_CATALOG', '/sc/');
	define('DIR_WS_HTTPS_CATALOG', '/sc/');	
}*/

// efine('HTTP_COOKIE_PATH', '');
// efine('HTTPS_COOKIE_PATH', '');
// efine('DIR_WS_HTTP_CATALOG', '');
// efine('DIR_WS_HTTPS_CATALOG', '');



//$fs_catalog_dir = realpath(dirname(__FILE__) . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
//define('DIR_FS_CATALOG', $fs_catalog_dir);

  
  
/*  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  define('DIR_WS_INCLUDES', 'includes/');
  define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
  define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');*/

  /*define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');*/
  
  
  
  /*define('DIR_FS_CATALOG', dirname($_SERVER['SCRIPT_FILENAME']) . '/');*/
 //define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');
 
 /* define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
*/


/*  define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');
// define('STORE_SESSIONS', 'folder');
*/
  
  



















  
?>